package com.sinsoft.monitorDemo.entity;

import java.util.Map;

public class OracleInfo {
	private Double tmpfsUsedPer; //tmpfs使用率
	private Double tmpfsTotal; //tmpfs总容量
	private Double memoryTarget; //oracl设置的memory_target
	private String status; //oracle 服务器状态、
	private Integer processCurrent; //进程数
	private Integer connections; //并发连接数
	private Integer connectionsActive; //活跃连接数
	private Integer maxConnections; //最大连接数
	private String ohaStatus;//ohas运行状态
	private String crsStatus;//crs运行状态
	private String cssStatus;//css运行状态
	private Map<String, Object> asmStatus;//asm运行状态
	private Map<String, Object> diskGroupStatus;//磁盘组运行状态
	private Map<String, Object> listenStatus;//监听运行状态
	private Map<String, Object> netIpStatus;//网络IP状态
	private Map<String, Object> instanceStatus;//实例运行状态
	private Map<String, Object> tablespaceUsedPer;//表空间使用率
	private Map<String, Object> portStatus;//端口状态使用率
	private Long time;
	private String ip;
	public OracleInfo() {
		super();
		// TODO Auto-generated constructor stub
	}
	public OracleInfo(Double tmpfsUsedPer, Double tmpfsTotal,
			Double memoryTarget, String status, Integer processCurrent,
			Integer connections, Integer connectionsActive,
			Integer maxConnections, String ohaStatus, String crsStatus,
			String cssStatus, Map<String, Object> asmStatus,
			Map<String, Object> diskGroupStatus,
			Map<String, Object> listenStatus, Map<String, Object> netIpStatus,
			Map<String, Object> instanceStatus,
			Map<String, Object> tablespaceUsedPer,
			Map<String, Object> portStatus, Long time, String ip) {
		super();
		this.tmpfsUsedPer = tmpfsUsedPer;
		this.tmpfsTotal = tmpfsTotal;
		this.memoryTarget = memoryTarget;
		this.status = status;
		this.processCurrent = processCurrent;
		this.connections = connections;
		this.connectionsActive = connectionsActive;
		this.maxConnections = maxConnections;
		this.ohaStatus = ohaStatus;
		this.crsStatus = crsStatus;
		this.cssStatus = cssStatus;
		this.asmStatus = asmStatus;
		this.diskGroupStatus = diskGroupStatus;
		this.listenStatus = listenStatus;
		this.netIpStatus = netIpStatus;
		this.instanceStatus = instanceStatus;
		this.tablespaceUsedPer = tablespaceUsedPer;
		this.portStatus = portStatus;
		this.time = time;
		this.ip = ip;
	}
	public Double getTmpfsUsedPer() {
		return tmpfsUsedPer;
	}
	public void setTmpfsUsedPer(Double tmpfsUsedPer) {
		this.tmpfsUsedPer = tmpfsUsedPer;
	}
	public Double getTmpfsTotal() {
		return tmpfsTotal;
	}
	public void setTmpfsTotal(Double tmpfsTotal) {
		this.tmpfsTotal = tmpfsTotal;
	}
	public Double getMemoryTarget() {
		return memoryTarget;
	}
	public void setMemoryTarget(Double memoryTarget) {
		this.memoryTarget = memoryTarget;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Integer getProcessCurrent() {
		return processCurrent;
	}
	public void setProcessCurrent(Integer processCurrent) {
		this.processCurrent = processCurrent;
	}
	public Integer getConnections() {
		return connections;
	}
	public void setConnections(Integer connections) {
		this.connections = connections;
	}
	public Integer getConnectionsActive() {
		return connectionsActive;
	}
	public void setConnectionsActive(Integer connectionsActive) {
		this.connectionsActive = connectionsActive;
	}
	public Integer getMaxConnections() {
		return maxConnections;
	}
	public void setMaxConnections(Integer maxConnections) {
		this.maxConnections = maxConnections;
	}
	public String getOhaStatus() {
		return ohaStatus;
	}
	public void setOhaStatus(String ohaStatus) {
		this.ohaStatus = ohaStatus;
	}
	public String getCrsStatus() {
		return crsStatus;
	}
	public void setCrsStatus(String crsStatus) {
		this.crsStatus = crsStatus;
	}
	public String getCssStatus() {
		return cssStatus;
	}
	public void setCssStatus(String cssStatus) {
		this.cssStatus = cssStatus;
	}
	public Map<String, Object> getAsmStatus() {
		return asmStatus;
	}
	public void setAsmStatus(Map<String, Object> asmStatus) {
		this.asmStatus = asmStatus;
	}
	public Map<String, Object> getDiskGroupStatus() {
		return diskGroupStatus;
	}
	public void setDiskGroupStatus(Map<String, Object> diskGroupStatus) {
		this.diskGroupStatus = diskGroupStatus;
	}
	public Map<String, Object> getListenStatus() {
		return listenStatus;
	}
	public void setListenStatus(Map<String, Object> listenStatus) {
		this.listenStatus = listenStatus;
	}
	public Map<String, Object> getNetIpStatus() {
		return netIpStatus;
	}
	public void setNetIpStatus(Map<String, Object> netIpStatus) {
		this.netIpStatus = netIpStatus;
	}
	public Map<String, Object> getInstanceStatus() {
		return instanceStatus;
	}
	public void setInstanceStatus(Map<String, Object> instanceStatus) {
		this.instanceStatus = instanceStatus;
	}
	public Map<String, Object> getTablespaceUsedPer() {
		return tablespaceUsedPer;
	}
	public void setTablespaceUsedPer(Map<String, Object> tablespaceUsedPer) {
		this.tablespaceUsedPer = tablespaceUsedPer;
	}
	public Map<String, Object> getPortStatus() {
		return portStatus;
	}
	public void setPortStatus(Map<String, Object> portStatus) {
		this.portStatus = portStatus;
	}
	public Long getTime() {
		return time;
	}
	public void setTime(Long time) {
		this.time = time;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	@Override
	public String toString() {
		return "OracleInfo [tmpfsUsedPer=" + tmpfsUsedPer + ", tmpfsTotal="
				+ tmpfsTotal + ", memoryTarget=" + memoryTarget + ", status="
				+ status + ", processCurrent=" + processCurrent
				+ ", connections=" + connections + ", connectionsActive="
				+ connectionsActive + ", maxConnections=" + maxConnections
				+ ", ohaStatus=" + ohaStatus + ", crsStatus=" + crsStatus
				+ ", cssStatus=" + cssStatus + ", asmStatus=" + asmStatus
				+ ", diskGroupStatus=" + diskGroupStatus + ", listenStatus="
				+ listenStatus + ", netIpStatus=" + netIpStatus
				+ ", instanceStatus=" + instanceStatus + ", tablespaceUsedPer="
				+ tablespaceUsedPer + ", portStatus=" + portStatus + ", time="
				+ time + ", ip=" + ip + "]";
	}
	
			
} 
